<template>
  <div id="app">
    <Header></Header>
    <router-view />
  </div>
</template>

<script>
import Header from "./components/Header/index.vue";
import { autoSize } from "@/assets/auto";
export default {
  name: "App",
  components: {
    Header,
  },
  mounted() {
    window.addEventListener("resize", () => {
      autoSize();
    });
  },
};
</script>

<style>
* {
  padding: 0px;
  margin: 0px;
}

@font-face {
  font-family: "ZHCJKT";
  src: url("./assets/fonts/ZHCJKT.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
</style>
